<template>
	<view>
		mini的{{num}}---{{message}}
		<view class="view" @click="hello">
			点击
		</view>
	</view>
</template>

<script>
	import minix from '../mini.js'
	export default {
		// minix:[minix],
		mixins:[minix],
		data() {
			return {
				num:10
			};
		},
		methods:{
			add(){
				this.num += this.num
			}
		}
	}
</script>

<style>
.view{
	background-color: #2C405A;
	height: 80rpx;
	line-height: 80rpx;
	text-align: center;
	width: 20%;
	color: #FFFFFF;
}
</style>
